package com.nt.train.annotation;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 自定义service注解
 * @author hlf
 * @version 1.0
 * @date 2022/8/11 15:46
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Component
public @interface NTService {

    String id() ;

    String name() default "";
}

